home *** CD-ROM | disk | FTP | other *** search
/ Merciful 5 / Merciful - Disc 5.iso / software / r / real_3d / real3dv3.3b.dms / real3dv3.3b.adf / RPL.LZH / RPL / sys / objects.rpl < prev    next >
Text File  |  1995-07-21  |  4KB  |  115 lines

  1. ( ----------------------------------------------------
  2. ( FILE:         objects.rpl
  3. ( DESCRIPTION:  Definitions for Real 3D Objects
  4. ( PLATFORM:     AMIGA
  5. ( VERSION:      2.4
  6. ( DATE:            16-Dec-93
  7. ( ----------------------------------------------------
  8. ( Copyright © 1993,1994 Realsoft.  All rights reserved
  9. ( ----------------------------------------------------
  10.  
  11. ?& OBJECTS.RPL NOT ?IF
  12. 17 CONSTANT OBJECTS.RPL
  13.  
  14. ( Geometry Flags for primitives
  15.  
  16. 2 0 POW CONSTANT wGF_CLOSEU      ( close freeform in u direction
  17. 2 1 POW CONSTANT wGF_CLOSEV      ( close surface in v direction
  18. 2 8 POW CONSTANT wGF_SECTOR      ( sector primitive
  19. 2 9 POW CONSTANT wGF_PERIODC     ( open evaluation
  20.  
  21. ( Freeform Types
  22.  
  23. 0   CONSTANT wFT_POLYGON    ( polygonal line/surface
  24. 1   CONSTANT wFT_PHONG      ( polygonal based phong shaded surface
  25. 3   CONSTANT wFT_BSPLINE    ( cubical B-Spline
  26.  
  27. ( Object Flags
  28.  
  29. 2 0  POW CONSTANT lOF_INVERTED       ( the volume of object is inverted 
  30. 2 1  POW CONSTANT lOF_PAINTED     ( Boolean with material 
  31. 2 2  POW CONSTANT lOF_WFINVISIBLE ( Invisible in editor 
  32. 2 3  POW CONSTANT lOF_LIGHTSOURCE ( lightsource 
  33. 2 4  POW CONSTANT lOF_HOLLOW      ( Hollow object (surface representation) 
  34. 2 5  POW CONSTANT lOF_INFINITE
  35. 2 6  POW CONSTANT lOF_SCENE       ( Invisible in first stage ray tracing 
  36. 2 7  POW CONSTANT lOF_RTINVISIBLE ( Control element, invisible in RT 
  37. 2 8  POW CONSTANT lOF_PROTECTL2   ( Protected agains move, color etc. 
  38. 2 9  POW CONSTANT lOF_NOBP1        ( No bottom 
  39. 2 10 POW CONSTANT lOF_NOBP2        ( No cover 
  40. 2 11 POW CONSTANT lOF_TEXTURE     ( Texture mapping descr. 
  41. 2 12 POW CONSTANT lOF_SECTOR      ( Sector primitive 
  42. 2 13 POW CONSTANT lOF_PROTECTED      ( protected against deletion etc. 
  43. 2 14 POW CONSTANT lOF_SEGMENT     ( Only quadr. surface is rendered 
  44. 2 15 POW CONSTANT lOF_NOTREFL     ( Not reflected by other objects 
  45. 2 16 POW CONSTANT lOF_COLLINV      ( Collision invisible 
  46. 2 17 POW CONSTANT lOF_MOTION      ( motion blurred object 
  47. 2 18 POW CONSTANT lOF_SHADOWLESS  ( does not cast shadows 
  48. 2 19 POW CONSTANT lOF_MATTE       ( background colored object 
  49. 2 20 POW CONSTANT lOF_BSPLANE       ( B-Spline bounded polygon evaluation 
  50. 2 21 POW CONSTANT lOF_BUMPSHADOWS ( modify shadows in bump maps  
  51. 2 22 POW CONSTANT lOF_NOTINSHADOW ( receive shadows property 
  52. 2 23 POW CONSTANT lOF_TRIMCURVE   ( curve defining space volume  
  53. 2 24 POW CONSTANT lOF_BBOX        ( bounding box
  54.  
  55. ( Object Types
  56.  
  57. 1  CONSTANT wOT_AND
  58. 2  CONSTANT wOT_OR
  59. 10 CONSTANT wOT_RECTANGLE
  60. 11 CONSTANT wOT_CUBE
  61. 12 CONSTANT wOT_PYRAMID
  62. 13 CONSTANT wOT_CUTPYRAMID
  63. 14 CONSTANT wOT_POLYGON
  64. 15 CONSTANT wOT_POLYHEDRON
  65. 16 CONSTANT wOT_POLYMID
  66. 17 CONSTANT wOT_CUTPOLYMID
  67. 18 CONSTANT wOT_ELLIPSE
  68. 19 CONSTANT wOT_CYLINDER
  69. 20 CONSTANT wOT_CONE
  70. 21 CONSTANT wOT_CUTCONE
  71. 22 CONSTANT wOT_ELLIPSOID
  72. 23 CONSTANT wOT_HYPERBOL
  73. 24 CONSTANT wOT_ELLIPSEG
  74. 25 CONSTANT wOT_TOROID
  75. 26 CONSTANT wOT_SPLINE
  76. 27 CONSTANT wOT_GROUP
  77. 28 CONSTANT wOT_SYMLINK
  78. 29 CONSTANT wOT_TRISET
  79. 32 CONSTANT wOT_SKELETON
  80. 33 CONSTANT wOT_OFFSET
  81. 34 CONSTANT wOT_LINE
  82. 35 CONSTANT wOT_COORD
  83. 36 CONSTANT wOT_OBSERVER
  84. 37 CONSTANT wOT_AIMPOINT
  85. 38 CONSTANT wOT_ATTR
  86.  
  87. ( Flags for fetching Object Properties using O_PROP
  88.  
  89. 2 0 POW CONSTANT iOP_COG
  90. 2 1 POW CONSTANT iOP_SIZE
  91. 2 2 POW CONSTANT iOP_DIR
  92. ( 2 3 POW CONSTANT iOP_RESERVED
  93. 2 4 POW CONSTANT iOP_MASS
  94.  
  95. ( Object Field Offsets
  96.  
  97. 0  CONSTANT O.aNEXT
  98. 4  CONSTANT O.aSUB
  99. 8  CONSTANT O.wTYPE
  100. 10 CONSTANT O.sNAME
  101. 26 CONSTANT O.iFLAGS
  102. 30 CONSTANT O.aPRIM ( address of primitive data defined below
  103. 34 CONSTANT O.wMETHOD
  104. 36 CONSTANT O.aTAGS
  105.  
  106. ( Offsets for accessing primitive fields
  107.  
  108. 0  CONSTANT P.aEOM    ( actual geometry 
  109. 4  CONSTANT P.iRGBA    ( Red Green Blue Alpha
  110. 24 CONSTANT P.wEGCOL    ( Palette index
  111. 26 CONSTANT P.wPTRN    ( Line pattern 
  112.  
  113. ?ENDIF ( OBJECTS.RPL 
  114.  
  115.